/**
 * @author Jon Adams
 */
package org.osflash.signals.natives.sets;

import org.osflash.signals.natives.NativeSignal;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.events.ProgressEvent;
import flash.media.Sound;

class SoundSignalSet extends EventDispatcherSignalSet {
	public var complete(getComplete, never) : NativeSignal;
	public var id3(getId3, never) : NativeSignal;
	public var ioError(getIoError, never) : NativeSignal;
	public var open(getOpen, never) : NativeSignal;
	public var progress(getProgress, never) : NativeSignal;

	public function new(target : Sound) {
		super(target);
	}

	public function getComplete() : NativeSignal {
		return getNativeSignal(Event.COMPLETE);
	}

	public function getId3() : NativeSignal {
		return getNativeSignal(Event.ID3);
	}

	public function getIoError() : NativeSignal {
		return getNativeSignal(IOErrorEvent.IO_ERROR, IOErrorEvent);
	}

	public function getOpen() : NativeSignal {
		return getNativeSignal(Event.OPEN);
	}

	public function getProgress() : NativeSignal {
		return getNativeSignal(ProgressEvent.PROGRESS, ProgressEvent);
	}

}

